package com.ipzoe.app.core.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "wxpay")
public class WxPayProperties {

    private String appId;
    private String appSecret;
    //微信支付商户号
    private String mchId;
    //密钥
    private String partnerKey;
    //证书路径，在微信商户后台下载
    private String certPath;
    //外网访问项目的域名，支付通知中会使用
    private String domain;

}
